package com.fsy.algorithm.annotation;

import java.io.Serializable;


/**
 * Created by shuangyu.feng on 2017/7/18.
 */

public class TestBean implements Serializable{

	@ValueCheckAnnotation(key = "keyName",checkEnum = CheckEnum.IS_NULL)
	protected String name;

	@ValueCheckAnnotation(key = "valueName",checkEnum = CheckEnum.IS_NOT_NULL)
	protected String value;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public TestBean(String name, String value) {
		this.name = name;
		this.value = value;
	}

	public TestBean() {
	}
}
